package cn.gbase.jiangsu.data.transfer.bean;

import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/**
* 
*/
@Data
@Table("goods_order")
public class GoodsOrder implements java.io.Serializable {
	private static final long serialVersionUID = 5454155825314635342L;

	//columns START
	/**
	 * 订单ID       db_column: id 
	 */
	@Id
	@Column("id")
	private Integer id;

	@Column("pid")
	private Integer pid;

	@Column("show_flag")
	private Integer showFlag;

	@Column("supplier_id")
	private Integer supplierId;

	/**
	 * 订单号       db_column: code 
	 */
	@Column("code")
	private String code;
	/**
	 * 业主账号       db_column: user_id 
	 */
	@Column("user_id")
	private Integer userId;
	/**
	 * 订单时间       db_column: create_time 
	 */
	@Column("create_time")
	private Date createTime;
	/**
	 * 状态       db_column: status 
	 */
	@Column("status")
	private String status;
	/**
	 * 代下订单账号ID       db_column: oprator_id 
	 */
	@Column("oprator_id")
	private Integer opratorId;
	/**
	 * 配送方式       db_column: post_type 
	 */
	@Column("post_type")
	private String postType;
	/**
	 * 订单金额       db_column: sell_price 
	 */
	@Column("sell_price")
	private Float sellPrice;
	/**
	 * 配送地址       db_column: address 
	 */
	@Column("address")
	private String address;
	/**
	 * 备注       db_column: remark 
	 */
	@Column("remark")
	private String remark;
	/**
	 * 派送费用       db_column: delivery_price 
	 */
	@Column("delivery_price")
	private Float deliveryPrice;
	/**
	 * 订单总金额       db_column: total_price 
	 */
	@Column("total_price")
	private Float totalPrice;
	/**
	 * 支付类型       db_column: pay_type 
	 */
	@Column("pay_type")
	private Integer payType;

	@Column("company_id")
	private Integer companyId;
	//columns END

	//服务站名称
	private String communityName;

	//每个商品的合计
	private BigDecimal zongjiEvery;

	private String showProductName;
}
